﻿<Window x:Class="ComputationVisualizer.VideoExportingWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Экспорт видео" Width="300" WindowStartupLocation="CenterOwner" WindowStyle="ToolWindow" Height="240" ResizeMode="NoResize">
    <StackPanel>
        <StackPanel Orientation="Horizontal" Margin="5">
            <Label>Путь</Label>
            <TextBox Width="160" Name="pathTextBox" HorizontalAlignment="Left" Margin="3"/>
            <Button Name="browseBtn" Content="Обзор.." Margin="3" Click="browseBtn_Click" />
        </StackPanel>
        <StackPanel Orientation="Horizontal">
            <Label>Количество кадров в секунду</Label>
            <TextBox Width="60" Margin="30,3,3,3" Name="fpsTextBox" Text="25"/>
        </StackPanel>
        <StackPanel Orientation="Horizontal">
            <Label>Приращение времени за кадр</Label>
            <TextBox Width="60" Margin="26,3,3,3" Name="framesPerCadrTextBox" Text="1"/>
        </StackPanel>
        <StackPanel Orientation="Horizontal">
            <Label>Начальное время</Label>
            <TextBox Width="60" Margin="95,3,3,3" Name="startFrameTB" Text="0"/>
        </StackPanel>
        <StackPanel Orientation="Horizontal">
            <Label>Конечное время</Label>
            <TextBox Width="60" Margin="101,3,3,3" Name="endFrameTB"/>
        </StackPanel>
        <!--<GroupBox Header="Размер">
            <StackPanel>
                <CheckBox Name="autoSizeChB" Content="Использовать размер кадров" IsChecked="True" Checked="autoSizeChB_Checked" Unchecked="autoSizeChB_Unchecked" />
                <StackPanel Orientation="Horizontal">
                    <Label>Ширина</Label>
                    <TextBox Name="widthTB" Width="60" IsEnabled="False"/>
                </StackPanel>
                <StackPanel Orientation="Horizontal">
                    <Label>Высота</Label>
                    <TextBox Name="heightTB" Width="60" Margin="6,0,0,0" IsEnabled="False"/>
                </StackPanel>
            </StackPanel>
            
        </GroupBox>-->
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
            <Button Name="submitButton" Content="Экспорт" HorizontalAlignment="Center" Margin="5" Padding="5" Click="submitButton_Click" />
            <Button Name="cancelButton" Content="Отмена" HorizontalAlignment="Center" Margin="5" Padding="5" Click="cancelButton_Click" />
        </StackPanel>
    </StackPanel>
</Window>
